package net.qial.strategy;

public class MoveAgent implements Agent {
	private double dx = 0;
	private double dy = 0;
	private double dz = 0;
	
	public MoveAgent(double dx, double dy, double dz) {
		this.dx = dx;
		this.dy = dy;
		this.dz = dz;
	}
	
	@Override
	public void performAction(GameObject object, GameWorld world) {
		object.setX(object.x() + dx);
		object.setY(object.y() + dy);
		object.setZ(object.z() + dz);
	}
	
}
